package com.tc.security01.config.filter;

import org.springframework.util.AntPathMatcher;

import java.util.concurrent.TimeUnit;

/**
 * @Auther: tianchao
 * @Date: 2021/11/20 23:40
 * @Description:
 */
public class LimitManager {
    static AntPathMatcher antPathMatcher = new AntPathMatcher();
    public static void main(String[] args) {
        //System.out.println(antPathMatcher.match("/a/b/c", "/a///b/c"));
//        String s = "ABCD_E_F_G".replace("ABCD", "").replaceAll("_", "/");
//        System.out.println(s);
        long l = TimeUnit.DAYS.toDays(1);
        l = TimeUnit.HOURS.toDays(49);
        System.out.println(l);
    }
}
